//
//  PickNum11YDJViewController.h
//  PlayBall
//
//  Created by Jdd‘s macbook on 13-10-9.
//
//

#import "JddBaseViewController.h"
#import "JddQueryDigitalLotteryIssueOperation.h"
#import "JddLotteryIssue.h"
#import "JddRandomSelectNumView.h"
#import "JddS5F11Number.h"
#import "JddPickerView.h"
#import "JddComboBoxView.h"
#import "JddIndexListView.h"
#import <AudioToolbox/AudioToolbox.h>
#import <AVFoundation/AVFoundation.h>

@interface JddPickNum11YDJViewController : JddBaseViewController<UITabBarDelegate,UIAlertViewDelegate,UIPickerViewDelegate,UIPickerViewDataSource, QueryDigitalLotteryIssueOperationDelegate,ComboBoxViewDelegate, RandomSelectNumViewDelegate,IndexListViewDelegate,UIGestureRecognizerDelegate, UIAccelerometerDelegate>{
@private
    NSTimer      *countDownTimer;
    NSDate       *endTime;
    NSDate       *currentTime;
    JddRandomSelectNumView *randomSelectNumberDialog;
    JddS5F11Number   *lotteryNumber;
    NSMutableArray      *lotteryNumberArray;
    JddComboBoxView  *methodPick;
    JddIndexListView *indexList;
    BOOL          querystate;
    UIImageView *rImv;
    UIButton *rBtn;
    UIView *rv;
}

@property (strong, nonatomic) IBOutlet UILabel *issueCodeLabel;
@property (strong, nonatomic) IBOutlet UILabel *remainTimeLabel;
@property (strong, nonatomic) IBOutlet UILabel *label1;
@property (strong, nonatomic) IBOutlet UILabel *label2;
@property (strong, nonatomic) IBOutlet UILabel *label3;
@property (strong, nonatomic) IBOutlet UILabel *playFormLabel;
@property (strong, nonatomic) IBOutlet UILabel *playFormIndexLabel;
@property (strong, nonatomic) IBOutlet UILabel *playFormMoneyLabel;
@property (strong, nonatomic) IBOutlet UILabel *countlabel;
@property (strong, nonatomic) IBOutlet UILabel *moneylabel;
@property (strong, nonatomic) IBOutlet UIImageView *image;
- (IBAction)handleSingleTapGesture:(UITapGestureRecognizer*)sender;
@property (strong, nonatomic) JddPickerView *playPickView;
@property (strong, nonatomic) JddLotteryIssue *currentLotteryIssue;



SHARED_VIEW_CONTROLLER_DECLARE(JddPickNum11YDJViewController);

-(void)destoryView;
- (IBAction)numberButtonClicked:(id)sender;
- (IBAction)changeButtonClicked:(id)sender;

- (IBAction)randomSelect5:(id)sender;

-(IBAction)clearSelect:(id)sender;
-(IBAction)sureSelect:(id)sender;
- (IBAction)randomSelect1:(id)sender;

@end
